/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package BUS;

import DAO.GroupRule_DAO;
import DTO.GroupRule_DTO;
import java.sql.SQLException;
import java.util.ArrayList;

/**
 *
 * @author Phung
 */
public class GroupRule_BUS {
    
    public static String Get_GroupID() throws SQLException{
        return GroupRule_DAO.Get_GroupID();
    }
    public static ArrayList<GroupRule_DTO> GetALL(){
        return GroupRule_DAO.GetALL();
    }
    public static boolean Insert(GroupRule_DTO GroupRule){
        return GroupRule_DAO.Insert(GroupRule);
    }
    public static boolean Update(GroupRule_DTO GroupRule){
        return GroupRule_DAO.Update(GroupRule);
    }   
    public static boolean Delete(String GroupID){
        return GroupRule_DAO.Delete(GroupID);
    }
}
